﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;

namespace DBLibrary.Model.pojo
{
    public class OffPower     //断复电记录表
    {
        private int _SensorId;                      //[系统序号]
        private float _Value;                       //[数值]
        private int _BrachAdressId;                 //[分站地址]
        private int _OpenPort;                      //[开出端口号]
        private int _isPowerOff;                    //[断电否]
        private DateTime _Time;                     //[时间]
        private string _PowerOffMsg;                //[断电信息]
        private string _Describe;                   //[备注]
        private int _isUpload;                      //[上传否]
        private int _isUpload2;                     //[上传否2]
        private int _isUpload3;                     //[上传否3]
        private int _isUpload4;                     //[上传否4]
        private string location;
        private string type;
        private string portStr;

        public int SensorId { get => _SensorId; set => _SensorId = value; }
        public float Value { get => _Value; set => _Value = value; }
        public int BrachAdressId { get => _BrachAdressId; set => _BrachAdressId = value; }
        public int OpenPort { get => _OpenPort; set => _OpenPort = value; }
        public int IsPowerOff { get => _isPowerOff; set => _isPowerOff = value; }
        public DateTime Time { get => _Time; set => _Time = value; }
        public string PowerOffMsg { get => _PowerOffMsg; set => _PowerOffMsg = value; }
        public string Describe { get => _Describe; set => _Describe = value; }
        public int IsUpload { get => _isUpload; set => _isUpload = value; }
        public int IsUpload2 { get => _isUpload2; set => _isUpload2 = value; }
        public int IsUpload3 { get => _isUpload3; set => _isUpload3 = value; }
        public int IsUpload4 { get => _isUpload4; set => _isUpload4 = value; }
        public string Location { get => location; set => location = value; }
        public string Type { get => type; set => type = value; }
        public string PortStr { get => portStr; set => portStr = value; }
    }
}
